From 375a57a46cd11903937264fe1156e2ec06cffe9e Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 26 Jul 2008 16:38:41 +0000 Subject: [PATCH] Fix types in tomtom. --- tomtom.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tomtom.c b/tomtom.c index 28be8eeb9..661787a2f 100644 --- a/tomtom.c +++ b/tomtom.c @@ -135,12 +135,11 @@ data_read(void) case 9: recsize = read_char( file_in ) + 6; if (global_opts.debug_level >= 5) - warning("Unknown record type 0x%x; skipping %d bytes.\n", + warning("Unknown record type 0x%x; skipping %ld bytes.\n", rectype, recsize); - fprintf(stderr, "Skipping %d at 0x%x\n", recsize, gbftell(file_in)); - while (recsize--) + while (recsize--) (void) read_char( file_in ); - break; + break; default: if (global_opts.debug_level >= 1) { warning("Unexpected waypoint record type: %d at offset 0x%x\n", rectype, gbftell(file_in) ); -- 2.30.2